package com.airticketbooking.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalTime;
import java.util.Date;
import java.io.Serializable;



@Data
public class FlightSchedule implements Serializable {
	private static final long serialVersionUID = 122022351563211033L;

	private Integer scheduleId; // 主键

	private Integer flightId; // 航班ID

	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date departureDate; // 出发日期


	private Integer status; // 班次状态

	private LocalTime departureTime;    // 出发时间

	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date arrivalDate; // 到达日期

	private LocalTime arrivalTime;   // 到达时间

	private Integer delayInfo; // 航班延误信息
}

